home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
AppKit
/
Draw
/
Scribble.h
< prev
next >
Wrap
Text File
|
1992-02-09
|
700b
|
37 lines
#define CHUNK_SIZE 64 /* this is a malloc good size */
@interface Scribble : Graphic
{
float *points; /* the points in the scribble */
char *userPathOps; /* the linetos */
int length; /* the number of points */
float bbox[4]; /* the bounding box of the scribble */
}
/* Factory methods */
+ cursor;
/* Free method */
- free;
/* Private methods */
- allocateChunk;
/* Methods overridden from superclass */
- (float)naturalAspectRatio;
- (int)moveCorner:(int)corner to:(const NXPoint *)point constrain:(BOOL)flag;
- (BOOL)create:(NXEvent *)event in:(GraphicView *)view;
- draw;
/* Archiving methods */
- write:(NXTypedStream *)stream;
- read:(NXTypedStream *)stream;
@end